package com.xxx.sso.ctrl;

import com.xxx.sso.base.BaseCtrl;
import com.xxx.sso.base.BaseService;
import com.xxx.sso.entity.Role;
import com.xxx.sso.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author caiwl
 * @date 2020/5/11 16:44
 */
@RestController
@RequestMapping("/role")
public class RoleCtrl extends BaseCtrl<Role> {
    @Autowired
    private RoleService roleService;

    @Override
    public BaseService<Role> service() {
        return roleService;
    }
}
